Skip to content

)}

IQuaternaryList.ReplaceAll(IEnumerable) method

Defined in

Type: IQuaternaryList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

void ReplaceAll(IEnumerable<T> collection)

Summary: Replaces all existing items with new items atomically, emitting a single change notification.

Parameters

NameTypeDescription
collectionIEnumerable (opens in a new tab)The new items to replace all existing items with. Cannot be null.

Remarks

This operation clears all existing items and adds the new items in a single atomic operation. Only one change notification is emitted for the entire operation.